﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Enferno.Public.Web.Models
{
    public class PaymentMethodModel : PaymentMethodBaseModel<PaymentServiceModel>
    {
        
    }

    public class PaymentMethodBaseModel<TPaymentServiceModel>
        where TPaymentServiceModel: PaymentServiceModel
    {
        public int Id { get; set; }
        public string Description { get; set; }
        public string ImageUrl { get; set; }
        public bool IsForCompanyOnly { get; set; }
        public bool IsForPersonOnly { get; set; }
        public bool IsSelected { get; set; }
        public string Name { get; set; }
        public string PartNo { get; set; }
        public decimal Price { get; set; }
        public TPaymentServiceModel Service { get; set; }
        public int TypeId { get; set; }
        public string TypeName { get; set; }
        public decimal VatRate { get; set; }
    }
}
